<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>DesktopFrequency</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">DesktopFrequency()</font></b></p>
<p><b>Syntax</b></p><blockquote>

Result = <font color="#006666"><b>DesktopFrequency</b></font>(#Desktop)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>



Returns the frequency of the specified desktop. 

 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Desktop</i></td>
<td width="90%"> 
 
The index of the desktop. The first index always specifies the primary monitor. 
The first index value is zero. 

 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>



Returns the frequency of the specified desktop in Hertz. 
If the return-value is 0 then the default hardware frequency is being used, or the actual frequency could not be determined. 

 

</blockquote><p><b>Remarks</b></p><blockquote>

<a href="examinedesktops.html">ExamineDesktops()</a> must be called before using this function to retrieve information about the available desktops. 
<b>Note:</b> on Linux, this function always returns 0. 

 

</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2"><font color="#006666">  ExamineDesktops</font>()
  f =<font color="#006666"> DesktopFrequency</font>(0)
  <b><font color="#006666">If</font></b> f = 0
<font color="#006666">    MessageRequester</font>("Display Information", "There isn't set any desktop frequency, the standard hardware frequency is used.")
  <b><font color="#006666">Else</font></b>
<font color="#006666">    MessageRequester</font>("Display Information", "Frequency of desktop: "+<font color="#006666">Str</font>(f)+" Hz.")
  <b><font color="#006666">EndIf</font></b>
</font></pre>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="examinedesktops.html">ExamineDesktops()</a>, 
<a href="desktopdepth.html">DesktopDepth()</a>, 
<a href="desktopheight.html">DesktopHeight()</a>, <a href="desktopname.html">DesktopName()</a>, <a href="desktopwidth.html">DesktopWidth()</a> 

</Blockquote><p><b>Supported OS  </b><Blockquote>Windows, MacOS X</Blockquote></p><center>&lt;- <a href=desktopdepth.html>DesktopDepth()</a> - <a href=index.html>Desktop Index</a> - <a href=desktopheight.html>DesktopHeight()</a> -&gt;



</body></html>